package com.xiaohuang.service;

import com.xiaohuang.service.impl.IHelloService;
import org.aopalliance.intercept.Interceptor;
import org.springframework.stereotype.Service;

@Service
public class test {
    public String getInterceptor(IHelloService helloService)  {
        if(helloService!=null ){
            return helloService.sayHello(1);
        }

        return helloService.sayHello(null);

    }
}
